{"ast":null,"code":"import genControlHeight from '../shared/genControlHeight';\nimport defaultAlgorithm from '../default';\nimport genCompactSizeMapToken from './genCompactSizeMapToken';\nimport genFontMapToken from '../shared/genFontMapToken';\nvar derivative = function derivative(token, mapToken) {\n  var mergedMapToken = mapToken !== null && mapToken !== void 0 ? mapToken : defaultAlgorithm(token);\n  var fontSize = mergedMapToken.fontSizeSM; // Smaller size font-size as base\n  var controlHeight = mergedMapToken.controlHeight - 4;\n  return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, mergedMapToken), genCompactSizeMapToken(mapToken !== null && mapToken !== void 0 ? mapToken : token)), genFontMapToken(fontSize)), {\n    // controlHeight\n    controlHeight: controlHeight\n  }), genControlHeight(Object.assign(Object.assign({}, mergedMapToken), {\n    controlHeight: controlHeight\n  })));\n};\nexport default derivative;","map":{"version":3,"names":["genControlHeight","defaultAlgorithm","genCompactSizeMapToken","genFontMapToken","derivative","token","mapToken","mergedMapToken","fontSize","fontSizeSM","controlHeight","Object","assign"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/antd/es/theme/themes/compact/index.js"],"sourcesContent":["import genControlHeight from '../shared/genControlHeight';\nimport defaultAlgorithm from '../default';\nimport genCompactSizeMapToken from './genCompactSizeMapToken';\nimport genFontMapToken from '../shared/genFontMapToken';\nconst derivative = (token, mapToken) => {\n  const mergedMapToken = mapToken !== null && mapToken !== void 0 ? mapToken : defaultAlgorithm(token);\n  const fontSize = mergedMapToken.fontSizeSM; // Smaller size font-size as base\n  const controlHeight = mergedMapToken.controlHeight - 4;\n  return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({}, mergedMapToken), genCompactSizeMapToken(mapToken !== null && mapToken !== void 0 ? mapToken : token)), genFontMapToken(fontSize)), {\n    // controlHeight\n    controlHeight\n  }), genControlHeight(Object.assign(Object.assign({}, mergedMapToken), {\n    controlHeight\n  })));\n};\nexport default derivative;"],"mappings":"AAAA,OAAOA,gBAAgB,MAAM,4BAA4B;AACzD,OAAOC,gBAAgB,MAAM,YAAY;AACzC,OAAOC,sBAAsB,MAAM,0BAA0B;AAC7D,OAAOC,eAAe,MAAM,2BAA2B;AACvD,IAAMC,UAAU,GAAG,SAAbA,UAAU,CAAIC,KAAK,EAAEC,QAAQ,EAAK;EACtC,IAAMC,cAAc,GAAGD,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAK,KAAK,CAAC,GAAGA,QAAQ,GAAGL,gBAAgB,CAACI,KAAK,CAAC;EACpG,IAAMG,QAAQ,GAAGD,cAAc,CAACE,UAAU,CAAC,CAAC;EAC5C,IAAMC,aAAa,GAAGH,cAAc,CAACG,aAAa,GAAG,CAAC;EACtD,OAAOC,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEL,cAAc,CAAC,EAAEL,sBAAsB,CAACI,QAAQ,KAAK,IAAI,IAAIA,QAAQ,KAAK,KAAK,CAAC,GAAGA,QAAQ,GAAGD,KAAK,CAAC,CAAC,EAAEF,eAAe,CAACK,QAAQ,CAAC,CAAC,EAAE;IAClN;IACAE,aAAa,EAAbA;EACF,CAAC,CAAC,EAAEV,gBAAgB,CAACW,MAAM,CAACC,MAAM,CAACD,MAAM,CAACC,MAAM,CAAC,CAAC,CAAC,EAAEL,cAAc,CAAC,EAAE;IACpEG,aAAa,EAAbA;EACF,CAAC,CAAC,CAAC,CAAC;AACN,CAAC;AACD,eAAeN,UAAU"},"metadata":{},"sourceType":"module"}